/// This file runs all data cleaning, tables, and figures for Bonilla and Mo
/// 'Bridging the Partisan Divide on Immigration Policy Attitudes through a 
/// Bipartisan Issue Area: The Case of Human Trafficking'. Figures are produced
/// in R, so plesae see Figures.R to reproduce Figures.

cd "C:\Users\tabi\Dropbox\BOMO\JEPSReplication\FinalReplication\Final"
log using "log.log", replace

*** Import and process data from the nationally representative survey.
do "Study1_CleanUp.do"

*** Import and process data from the convience sample.
do "Study2_CleanUp.do"

*** Produce the data to compile the human trafficking figure in R.
do "Human_Trafficking_Figure.do"

*** Produce the data to compile the immigration attitudes and mediation figures in R. 
do "Immigration_Figure.do"

*** Produce the tables found in the appendices.
do "ManipulationChecks.do"
do "Appendix_Study1.do"
do "Appendix_Study2.do"

log close
